from sanic.response import json
from . import app_account
import asyncio
from .verify_register import Register



@app_account.route('/register',methods=['POST'])

async def register(requests):

    info=requests.from
    phone=info.get('phone')
    verify_code=info.get('verify_cdoe') 
    password=info.get('password')

    return await Register().register(phone,verify_code,password)
   




     
